ComponentOne ASP.NET MVC Controls
InferDataTypes Property

C1.Web.Mvc Namespace > BaseODataCollectionViewService<T> Class : InferDataTypes Property
Gets or sets a value that determines whether fields that contain strings that look like standard date representations should be converted to dates automatically.
Syntax
'Declaration
 
<DefaultValueAttribute(True)>
Public Property InferDataTypes As Boolean
[DefaultValue(true)]
public bool InferDataTypes {get; set;}
Remarks
This property is set to true by default, because the BaseODataCollectionViewService<T> class uses JSON and that format does not support Date objects.
See Also

Reference

BaseODataCollectionViewService<T> Class
BaseODataCollectionViewService<T> Members